package org.linlinjava.litemall.admin.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;


@Data
@Builder
@ApiModel("秒杀商品详情")
public class SecKillVo {

    @ApiModelProperty("秒杀商品id")
    private Integer id;

    @ApiModelProperty("商品id")
    private Integer goodId;

    @ApiModelProperty("开始时间")
    private LocalDateTime startTime;

    @ApiModelProperty("结束时间")
    private LocalDateTime endTime;

    @ApiModelProperty("优先级")
    private Short sortOrder;

    @ApiModelProperty("数量")
    private Integer number;

    @ApiModelProperty("初始化被秒杀数量")
    private Integer initialNumber;

    @ApiModelProperty("原始价格")
    private BigDecimal initialPrice;

    @ApiModelProperty("秒杀价格")
    private BigDecimal killPrice;

    @ApiModelProperty("更新时间")
    private LocalDateTime updateTime;
}
